package com.zzb.framework.role.vo;


import com.zzb.framework.role.entity.SysMenu;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单树形视图
 * Created by zzb on 17-2-27.
 */
public class SysMenuTreeVO implements Serializable {
    private int level;
    private SysMenu sysMenu;
    private boolean isRoot;
    private List<SysMenuTreeVO> subs;

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public SysMenu getSysMenu() {
        return sysMenu;
    }

    public void setSysMenu(SysMenu sysMenu) {
        this.sysMenu = sysMenu;
    }

    public boolean isRoot() {
        return isRoot;
    }

    public void setRoot(boolean root) {
        isRoot = root;
    }

    public List<SysMenuTreeVO> getSubs() {
        return subs;
    }

    public void setSubs(List<SysMenuTreeVO> subs) {
        this.subs = subs;
    }
}
